package com.blog.auth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.auth.pojo.AuthMenu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * BaseMapper 注意引用的mybatis plus的包
 */
@Repository
public interface AuthMenuDao extends BaseMapper<AuthMenu> {
    // 查询用户角色权限信息
    List<AuthMenu> getPermission(String userId);
}
